package com.legend.utils;

import com.thoughtworks.xstream.XStream;
import com.thoughtworks.xstream.io.xml.DomDriver;

import java.io.File;

/**
 * Created by XuSir on 14-7-14.
 */
public class XmlUtils {

    public static void main(String[] args)
    {
        XStream xs=new XStream();
     File file=new File("oa/src/config/DatatypeMap.xml");
        System.out.println(file.isFile());
        DomDriver driver= new DomDriver();
        String xml="<div><d>1</d></div>";
        xs.fromXML(xml);
    }
}
